#include <iostream>

using namespace std;

int main () {

   for (int i = 0; i < 500; i++) {
      for (int j = i; j < 1000; j++) {
         cout << j << " " << i << endl;
      }
   }

   return 0;
}

